<div id="header"></div>
<div id="left"></div>
<div id="right">
  <%= form_tag({:controller => "init_session", :action => "signin"}, :method => "get") do %>
      <%hidden_field(:actionOnPost,"signin") %>
      <table>
        <tr>
          <td><%= label_tag(:userName, t(:userNameLabel)) %></td>
          <td><%=
              if(params[:reload_username]!= nil && params[:reload_username] != "" )
                text_field_tag(:userName, params[:reload_username])
              else
                text_field_tag(:userName)
              end
          %></td>
        </tr>
        <tr>
          <td><%= label_tag(:password, t(:passwordLabel)) %> </td>
          <td><%= password_field(:user, :password, :size => "") %> </td>
        </tr>
        <tr>
          <td><%= submit_tag(t(:signInButtonText)) %> </td>
        </tr>
        <tr>
          <td></td>
          <td><%= link_to t(:registerNowLink), :controller => "init_session", :action => "register" %> </td>
        </tr>
      </table>
  <% end %>
  <div id="Error">
    <h5><%= params[:logError] %></h5>

  </div>
</div>
<div id="footer"></div>